home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
dskut
/
patchexe.zip
/
PATCHEXE.MSG
< prev
next >
Wrap
Internet Message Format
|
1990-07-14
|
860b
From: ajayshah@castor.usc.edu
Newsgroups: comp.binaries.ibm.pc
Subject: v07i024: patchexe, replace strings in files
Summary: Replace all occurences of a string in a file, such as exe
Date: 15 Jul 90 04:26:28 GMT
This is a program which converts every occurence of a string in a file
to another string of the same length. It's written in Pascal, and source
is provided (but no comments).
I renamed it patchexe, because there is a patch program which is well
known.
Usage:
patchexe [-v] filename string1 string2
filename is the file which is patched.
You must have length(string1) = length(string2).
Without the verbose flag, every occurence of string1 is replaced by string2.
With verbose on, every occurence of string1 is displayed on screen, along
with it's context, the patch is only made if you give a go ahead.